WineHQ

World Wine News

All the news that fits, we print.

03/17/2022
by Cressida Silver
Issue: 414

XML source
More Issues...

This is the 414th issue of the World Wine News publication. Its main goal is to inform you of what's going on around Wine. Wine is an open source implementation of the Windows API on top of X and Unix. Think of it as a Windows compatibility layer. Wine does not require Microsoft Windows, as it is a completely alternative implementation consisting of 100% Microsoft-free code.


The Curious Case of Phasmophobia

Phasmophobia is an online co-op psychological horror game available on Steam. In Phasmophobia investigators are tasked with gathering evidence using various pieces of equipment in order to determine the type of spirit they are dealing with. One way players glean knowledge from the game is by speaking directly to the apparitions. No really, you (the player) speak with the phantom itself. To do this, Phasmophobia requires speech recognition software.

Why all this talk about Phasmophobia?

Wine 7.4 arrived last Friday, and it contains the beginnings of an implementation of the windows.media.speech libraries, which is the groundwork for speech recognition capabilities in Wine. The effort was spearheaded by Bernhard Kölbl, because it seemed if anyone was going to get the spirits in Phasmophobia to listen, it was going to be him. (Though he made it clear that this work wouldn't have been possible without the help of Rémi Bernon, Connor McAdams, Zeb Figura, et al.)

Nothing worthwhile is ever easy though... sigh. Just getting started required fixing some parts of Wine that were broken, missing, or yet to be implemented (e.g., the HSTRING implementation, and WIDL compiler). Not only that, the work involves some (relatively) newer components of the Windows API, namely, the Universal Windows Platform (UWP) and Windows Runtime (WinRT). These components require a ton of boilerplate code to get even simple things going, and they function in new and (sometimes) weird ways.

Once that was sorted, the next step was to select the speech recognition software. Ultimately, Alpha Cephei's Vosk was chosen. It is an open-source speech recognition toolkit that supports 20+ languages and dialects. Although Bernhard had never worked with Unixlibs before, he was able to get Vosk functioning with Wine. Hard work really does pay. 😀

This is just the beginning of speech recognition in Wine, and you can expect more patches soon!


Bugs: In Memoriam

Bug ID Open Date Days Open Weeks Open Months Open Years Open
20296 10/9/09 4536 468 149 12
41053 8/3/16 2046 292 67 6
48508 1/24/20 777 111 25 2
50887 3/30/21 346 49 11 1
52204 12/11/21 90 13 3 0
52476 1/28/22 42 6 1 0
52562 2/17/22 22 3 0 0
52581 2/22/22 17 2 0 0
52596 2/26/22 13 2 0 0
52614 3/1/22 10 1 0 0
52618 3/2/22 9 1 0 0
52626 3/4/22 7 1 0 0
52637 3/8/22 3 0 0 0
52639 3/8/22 3 0 0 0


All Kernel Cousin issues and summaries are copyright their original authors, and distributed under the terms of the
GNU General Public License, version 2.0.